package com.atguigu.security.eduservice.service;

import com.atguigu.security.eduservice.entity.EduCourse;
import com.atguigu.security.eduservice.entity.vo.CourseFrontVo;
import com.atguigu.security.eduservice.entity.vo.CourseInfoVo;
import com.atguigu.security.eduservice.entity.vo.CourseWebVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface EduCourseService  extends IService<EduCourse> {
    String saveCourseInfo(CourseInfoVo courseInfoVo);

    CourseInfoVo getCourseInfo(String courseId);

    void updateCourseInfo(CourseInfoVo courseInfoVo);

    Map<String, Object> getCourseFrontList(Page<EduCourse> pageCourse, CourseFrontVo courseFrontVo);

    CourseWebVo getBaseCourseInfo(String id);
}
